package com.qf.service.impl;

import com.codingapi.txlcn.tc.annotation.LcnTransaction;
import com.qf.dao.UserBMapper;
import com.qf.service.UserBService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
public class UserBServiceImpl implements UserBService {
    @Autowired
    private UserBMapper userBMapper;
    @Override
    @Transactional
    //@LcnTransaction
    public String add() {

        String add =String.valueOf( userBMapper.add());

        return "B ok！";
    }
}
